0 Prolog
↳1 PrologToDTProblemTransformerProof (⇒, 187 ms)
↳2 TRIPLES
↳3 TriplesToPiDPProof (⇒, 524 ms)
↳4 PiDP
↳5 DependencyGraphProof (⇔, 0 ms)
↳6 AND
↳7 PiDP
↳8 UsableRulesProof (⇔, 0 ms)
↳9 PiDP
↳10 PiDPToQDPProof (⇒, 103 ms)
↳11 QDP
↳12 QDPOrderProof (⇔, 529 ms)
↳13 QDP
↳14 DependencyGraphProof (⇔, 0 ms)
↳15 TRUE
↳16 PiDP
↳17 UsableRulesProof (⇔, 0 ms)
↳18 PiDP
↳19 PiDPToQDPProof (⇒, 0 ms)
↳20 QDP
↳21 QDPSizeChangeProof (⇔, 0 ms)
↳22 YES
DERA_IN_GA(d(e(+(t, X1))), +(const(1), X2)) → U21_GA(X1, X2, derA_in_ga(d(e(X1)), X2))
DERA_IN_GA(d(e(+(t, X1))), +(const(1), X2)) → DERA_IN_GA(d(e(X1)), X2)
DERA_IN_GA(d(e(+(const(X1), X2))), +(const(0), X3)) → U22_GA(X1, X2, X3, derA_in_ga(d(e(X2)), X3))
DERA_IN_GA(d(e(+(const(X1), X2))), +(const(0), X3)) → DERA_IN_GA(d(e(X2)), X3)
DERA_IN_GA(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6)) → U23_GA(X1, X2, X3, X4, X5, X6, pB_in_gagaga(X1, X4, X2, X5, X3, X6))
DERA_IN_GA(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6)) → PB_IN_GAGAGA(X1, X4, X2, X5, X3, X6)
PB_IN_GAGAGA(X1, X2, X3, X4, X5, X6) → U1_GAGAGA(X1, X2, X3, X4, X5, X6, derA_in_ga(d(e(X1)), X2))
PB_IN_GAGAGA(X1, X2, X3, X4, X5, X6) → DERA_IN_GA(d(e(X1)), X2)
DERA_IN_GA(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6)) → U24_GA(X1, X2, X3, X4, X5, X6, pB_in_gagaga(X1, X5, X2, X4, X3, X6))
DERA_IN_GA(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6)) → PB_IN_GAGAGA(X1, X5, X2, X4, X3, X6)
PB_IN_GAGAGA(X1, X2, X3, X4, X5, X6) → U2_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X1)), X2))
U2_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → U3_GAGAGA(X1, X2, X3, X4, X5, X6, derA_in_ga(d(e(X3)), X4))
U2_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → DERA_IN_GA(d(e(X3)), X4)
DERA_IN_GA(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1)))) → U25_GA(X1, X2, derA_in_ga(d(e(X1)), X2))
DERA_IN_GA(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1)))) → DERA_IN_GA(d(e(X1)), X2)
DERA_IN_GA(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0)))) → U26_GA(X1, X2, X3, derA_in_ga(d(e(X2)), X3))
DERA_IN_GA(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0)))) → DERA_IN_GA(d(e(X2)), X3)
DERA_IN_GA(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6)))) → U27_GA(X1, X2, X3, X4, X5, X6, pB_in_gagaga(X1, X5, X2, X6, X3, X4))
DERA_IN_GA(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6)))) → PB_IN_GAGAGA(X1, X5, X2, X6, X3, X4)
DERA_IN_GA(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6))))) → U28_GA(X1, X2, X3, X4, X5, X6, pB_in_gagaga(X1, X6, X2, X5, X3, X4))
DERA_IN_GA(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6))))) → PB_IN_GAGAGA(X1, X6, X2, X5, X3, X4)
DERA_IN_GA(d(d(X1)), X2) → U29_GA(X1, X2, pC_in_gaa(X1, X3, X2))
DERA_IN_GA(d(d(X1)), X2) → PC_IN_GAA(X1, X3, X2)
PC_IN_GAA(e(t), const(1), X1) → U6_GAA(X1, derA_in_ga(d(e(const(1))), X1))
PC_IN_GAA(e(t), const(1), X1) → DERA_IN_GA(d(e(const(1))), X1)
PC_IN_GAA(e(const(X1)), const(0), X2) → U7_GAA(X1, X2, derA_in_ga(d(e(const(0))), X2))
PC_IN_GAA(e(const(X1)), const(0), X2) → DERA_IN_GA(d(e(const(0))), X2)
PC_IN_GAA(e(+(X1, X2)), +(X3, X4), X5) → U8_GAA(X1, X2, X3, X4, X5, derA_in_ga(d(e(X1)), X3))
PC_IN_GAA(e(+(X1, X2)), +(X3, X4), X5) → DERA_IN_GA(d(e(X1)), X3)
PC_IN_GAA(e(+(X1, X2)), +(X3, X4), X5) → U9_GAA(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X1)), X3))
U9_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X3)) → U10_GAA(X1, X2, X3, X4, X5, derA_in_ga(d(e(X2)), X4))
U9_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X3)) → DERA_IN_GA(d(e(X2)), X4)
U9_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X3)) → U11_GAA(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X2)), X4))
U11_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X4)) → U12_GAA(X1, X2, X3, X4, X5, derA_in_ga(d(e(+(X3, X4))), X5))
U11_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X4)) → DERA_IN_GA(d(e(+(X3, X4))), X5)
PC_IN_GAA(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5) → U13_GAA(X1, X2, X3, X4, X5, derA_in_ga(d(e(X1)), X4))
PC_IN_GAA(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5) → DERA_IN_GA(d(e(X1)), X4)
PC_IN_GAA(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5) → U14_GAA(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X1)), X4))
U14_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X4)) → U15_GAA(X1, X2, X3, X4, X5, derA_in_ga(d(e(X2)), X3))
U14_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X4)) → DERA_IN_GA(d(e(X2)), X3)
U14_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X4)) → U16_GAA(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X2)), X3))
U16_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X3)) → U17_GAA(X1, X2, X3, X4, X5, derA_in_ga(d(e(+(*(X1, X3), *(X2, X4)))), X5))
U16_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X3)) → DERA_IN_GA(d(e(+(*(X1, X3), *(X2, X4)))), X5)
PC_IN_GAA(d(X1), X2, X3) → U18_GAA(X1, X2, X3, derA_in_ga(d(X1), X4))
PC_IN_GAA(d(X1), X2, X3) → DERA_IN_GA(d(X1), X4)
PC_IN_GAA(d(X1), X2, X3) → U19_GAA(X1, X2, X3, dercA_in_ga(d(X1), X4))
U19_GAA(X1, X2, X3, dercA_out_ga(d(X1), X4)) → U20_GAA(X1, X2, X3, pC_in_gaa(e(X4), X2, X3))
U19_GAA(X1, X2, X3, dercA_out_ga(d(X1), X4)) → PC_IN_GAA(e(X4), X2, X3)
U2_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → U4_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X3)), X4))
U4_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X3)), X4)) → U5_GAGAGA(X1, X2, X3, X4, X5, X6, derA_in_ga(d(e(X5)), X6))
U4_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X3)), X4)) → DERA_IN_GA(d(e(X5)), X6)
dercA_in_ga(d(e(t)), const(1)) → dercA_out_ga(d(e(t)), const(1))
dercA_in_ga(d(e(const(X1))), const(0)) → dercA_out_ga(d(e(const(X1))), const(0))
dercA_in_ga(d(e(+(t, X1))), +(const(1), X2)) → U31_ga(X1, X2, dercA_in_ga(d(e(X1)), X2))
dercA_in_ga(d(e(+(const(X1), X2))), +(const(0), X3)) → U32_ga(X1, X2, X3, dercA_in_ga(d(e(X2)), X3))
dercA_in_ga(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6)) → U33_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X4, X2, X5, X3, X6))
qcB_in_gagaga(X1, X2, X3, X4, X5, X6) → U40_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X1)), X2))
dercA_in_ga(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6)) → U34_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X5, X2, X4, X3, X6))
U34_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X5, X2, X4, X3, X6)) → dercA_out_ga(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6))
dercA_in_ga(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1)))) → U35_ga(X1, X2, dercA_in_ga(d(e(X1)), X2))
dercA_in_ga(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0)))) → U36_ga(X1, X2, X3, dercA_in_ga(d(e(X2)), X3))
dercA_in_ga(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6)))) → U37_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X5, X2, X6, X3, X4))
U37_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X5, X2, X6, X3, X4)) → dercA_out_ga(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6))))
dercA_in_ga(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6))))) → U38_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X6, X2, X5, X3, X4))
U38_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X6, X2, X5, X3, X4)) → dercA_out_ga(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6)))))
dercA_in_ga(d(d(X1)), X2) → U39_ga(X1, X2, qcC_in_gaa(X1, X3, X2))
qcC_in_gaa(e(t), const(1), X1) → U43_gaa(X1, dercA_in_ga(d(e(const(1))), X1))
U43_gaa(X1, dercA_out_ga(d(e(const(1))), X1)) → qcC_out_gaa(e(t), const(1), X1)
qcC_in_gaa(e(const(X1)), const(0), X2) → U44_gaa(X1, X2, dercA_in_ga(d(e(const(0))), X2))
U44_gaa(X1, X2, dercA_out_ga(d(e(const(0))), X2)) → qcC_out_gaa(e(const(X1)), const(0), X2)
qcC_in_gaa(e(+(X1, X2)), +(X3, X4), X5) → U45_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X1)), X3))
U45_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X3)) → U46_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X2)), X4))
U46_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X4)) → U47_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(+(X3, X4))), X5))
U47_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(+(X3, X4))), X5)) → qcC_out_gaa(e(+(X1, X2)), +(X3, X4), X5)
qcC_in_gaa(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5) → U48_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X1)), X4))
U48_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X4)) → U49_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X2)), X3))
U49_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X3)) → U50_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(+(*(X1, X3), *(X2, X4)))), X5))
U50_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(+(*(X1, X3), *(X2, X4)))), X5)) → qcC_out_gaa(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5)
qcC_in_gaa(d(X1), X2, X3) → U51_gaa(X1, X2, X3, dercA_in_ga(d(X1), X4))
U51_gaa(X1, X2, X3, dercA_out_ga(d(X1), X4)) → U52_gaa(X1, X2, X3, qcC_in_gaa(e(X4), X2, X3))
U52_gaa(X1, X2, X3, qcC_out_gaa(e(X4), X2, X3)) → qcC_out_gaa(d(X1), X2, X3)
U39_ga(X1, X2, qcC_out_gaa(X1, X3, X2)) → dercA_out_ga(d(d(X1)), X2)
U36_ga(X1, X2, X3, dercA_out_ga(d(e(X2)), X3)) → dercA_out_ga(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0))))
U35_ga(X1, X2, dercA_out_ga(d(e(X1)), X2)) → dercA_out_ga(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1))))
U40_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → U41_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X3)), X4))
U41_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X3)), X4)) → U42_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X5)), X6))
U42_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X5)), X6)) → qcB_out_gagaga(X1, X2, X3, X4, X5, X6)
U33_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X4, X2, X5, X3, X6)) → dercA_out_ga(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6))
U32_ga(X1, X2, X3, dercA_out_ga(d(e(X2)), X3)) → dercA_out_ga(d(e(+(const(X1), X2))), +(const(0), X3))
U31_ga(X1, X2, dercA_out_ga(d(e(X1)), X2)) → dercA_out_ga(d(e(+(t, X1))), +(const(1), X2))
Infinitary Constructor Rewriting Termination of PiDP implies Termination of TRIPLES
DERA_IN_GA(d(e(+(t, X1))), +(const(1), X2)) → U21_GA(X1, X2, derA_in_ga(d(e(X1)), X2))
DERA_IN_GA(d(e(+(t, X1))), +(const(1), X2)) → DERA_IN_GA(d(e(X1)), X2)
DERA_IN_GA(d(e(+(const(X1), X2))), +(const(0), X3)) → U22_GA(X1, X2, X3, derA_in_ga(d(e(X2)), X3))
DERA_IN_GA(d(e(+(const(X1), X2))), +(const(0), X3)) → DERA_IN_GA(d(e(X2)), X3)
DERA_IN_GA(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6)) → U23_GA(X1, X2, X3, X4, X5, X6, pB_in_gagaga(X1, X4, X2, X5, X3, X6))
DERA_IN_GA(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6)) → PB_IN_GAGAGA(X1, X4, X2, X5, X3, X6)
PB_IN_GAGAGA(X1, X2, X3, X4, X5, X6) → U1_GAGAGA(X1, X2, X3, X4, X5, X6, derA_in_ga(d(e(X1)), X2))
PB_IN_GAGAGA(X1, X2, X3, X4, X5, X6) → DERA_IN_GA(d(e(X1)), X2)
DERA_IN_GA(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6)) → U24_GA(X1, X2, X3, X4, X5, X6, pB_in_gagaga(X1, X5, X2, X4, X3, X6))
DERA_IN_GA(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6)) → PB_IN_GAGAGA(X1, X5, X2, X4, X3, X6)
PB_IN_GAGAGA(X1, X2, X3, X4, X5, X6) → U2_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X1)), X2))
U2_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → U3_GAGAGA(X1, X2, X3, X4, X5, X6, derA_in_ga(d(e(X3)), X4))
U2_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → DERA_IN_GA(d(e(X3)), X4)
DERA_IN_GA(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1)))) → U25_GA(X1, X2, derA_in_ga(d(e(X1)), X2))
DERA_IN_GA(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1)))) → DERA_IN_GA(d(e(X1)), X2)
DERA_IN_GA(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0)))) → U26_GA(X1, X2, X3, derA_in_ga(d(e(X2)), X3))
DERA_IN_GA(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0)))) → DERA_IN_GA(d(e(X2)), X3)
DERA_IN_GA(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6)))) → U27_GA(X1, X2, X3, X4, X5, X6, pB_in_gagaga(X1, X5, X2, X6, X3, X4))
DERA_IN_GA(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6)))) → PB_IN_GAGAGA(X1, X5, X2, X6, X3, X4)
DERA_IN_GA(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6))))) → U28_GA(X1, X2, X3, X4, X5, X6, pB_in_gagaga(X1, X6, X2, X5, X3, X4))
DERA_IN_GA(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6))))) → PB_IN_GAGAGA(X1, X6, X2, X5, X3, X4)
DERA_IN_GA(d(d(X1)), X2) → U29_GA(X1, X2, pC_in_gaa(X1, X3, X2))
DERA_IN_GA(d(d(X1)), X2) → PC_IN_GAA(X1, X3, X2)
PC_IN_GAA(e(t), const(1), X1) → U6_GAA(X1, derA_in_ga(d(e(const(1))), X1))
PC_IN_GAA(e(t), const(1), X1) → DERA_IN_GA(d(e(const(1))), X1)
PC_IN_GAA(e(const(X1)), const(0), X2) → U7_GAA(X1, X2, derA_in_ga(d(e(const(0))), X2))
PC_IN_GAA(e(const(X1)), const(0), X2) → DERA_IN_GA(d(e(const(0))), X2)
PC_IN_GAA(e(+(X1, X2)), +(X3, X4), X5) → U8_GAA(X1, X2, X3, X4, X5, derA_in_ga(d(e(X1)), X3))
PC_IN_GAA(e(+(X1, X2)), +(X3, X4), X5) → DERA_IN_GA(d(e(X1)), X3)
PC_IN_GAA(e(+(X1, X2)), +(X3, X4), X5) → U9_GAA(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X1)), X3))
U9_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X3)) → U10_GAA(X1, X2, X3, X4, X5, derA_in_ga(d(e(X2)), X4))
U9_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X3)) → DERA_IN_GA(d(e(X2)), X4)
U9_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X3)) → U11_GAA(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X2)), X4))
U11_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X4)) → U12_GAA(X1, X2, X3, X4, X5, derA_in_ga(d(e(+(X3, X4))), X5))
U11_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X4)) → DERA_IN_GA(d(e(+(X3, X4))), X5)
PC_IN_GAA(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5) → U13_GAA(X1, X2, X3, X4, X5, derA_in_ga(d(e(X1)), X4))
PC_IN_GAA(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5) → DERA_IN_GA(d(e(X1)), X4)
PC_IN_GAA(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5) → U14_GAA(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X1)), X4))
U14_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X4)) → U15_GAA(X1, X2, X3, X4, X5, derA_in_ga(d(e(X2)), X3))
U14_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X4)) → DERA_IN_GA(d(e(X2)), X3)
U14_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X4)) → U16_GAA(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X2)), X3))
U16_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X3)) → U17_GAA(X1, X2, X3, X4, X5, derA_in_ga(d(e(+(*(X1, X3), *(X2, X4)))), X5))
U16_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X3)) → DERA_IN_GA(d(e(+(*(X1, X3), *(X2, X4)))), X5)
PC_IN_GAA(d(X1), X2, X3) → U18_GAA(X1, X2, X3, derA_in_ga(d(X1), X4))
PC_IN_GAA(d(X1), X2, X3) → DERA_IN_GA(d(X1), X4)
PC_IN_GAA(d(X1), X2, X3) → U19_GAA(X1, X2, X3, dercA_in_ga(d(X1), X4))
U19_GAA(X1, X2, X3, dercA_out_ga(d(X1), X4)) → U20_GAA(X1, X2, X3, pC_in_gaa(e(X4), X2, X3))
U19_GAA(X1, X2, X3, dercA_out_ga(d(X1), X4)) → PC_IN_GAA(e(X4), X2, X3)
U2_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → U4_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X3)), X4))
U4_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X3)), X4)) → U5_GAGAGA(X1, X2, X3, X4, X5, X6, derA_in_ga(d(e(X5)), X6))
U4_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X3)), X4)) → DERA_IN_GA(d(e(X5)), X6)
dercA_in_ga(d(e(t)), const(1)) → dercA_out_ga(d(e(t)), const(1))
dercA_in_ga(d(e(const(X1))), const(0)) → dercA_out_ga(d(e(const(X1))), const(0))
dercA_in_ga(d(e(+(t, X1))), +(const(1), X2)) → U31_ga(X1, X2, dercA_in_ga(d(e(X1)), X2))
dercA_in_ga(d(e(+(const(X1), X2))), +(const(0), X3)) → U32_ga(X1, X2, X3, dercA_in_ga(d(e(X2)), X3))
dercA_in_ga(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6)) → U33_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X4, X2, X5, X3, X6))
qcB_in_gagaga(X1, X2, X3, X4, X5, X6) → U40_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X1)), X2))
dercA_in_ga(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6)) → U34_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X5, X2, X4, X3, X6))
U34_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X5, X2, X4, X3, X6)) → dercA_out_ga(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6))
dercA_in_ga(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1)))) → U35_ga(X1, X2, dercA_in_ga(d(e(X1)), X2))
dercA_in_ga(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0)))) → U36_ga(X1, X2, X3, dercA_in_ga(d(e(X2)), X3))
dercA_in_ga(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6)))) → U37_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X5, X2, X6, X3, X4))
U37_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X5, X2, X6, X3, X4)) → dercA_out_ga(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6))))
dercA_in_ga(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6))))) → U38_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X6, X2, X5, X3, X4))
U38_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X6, X2, X5, X3, X4)) → dercA_out_ga(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6)))))
dercA_in_ga(d(d(X1)), X2) → U39_ga(X1, X2, qcC_in_gaa(X1, X3, X2))
qcC_in_gaa(e(t), const(1), X1) → U43_gaa(X1, dercA_in_ga(d(e(const(1))), X1))
U43_gaa(X1, dercA_out_ga(d(e(const(1))), X1)) → qcC_out_gaa(e(t), const(1), X1)
qcC_in_gaa(e(const(X1)), const(0), X2) → U44_gaa(X1, X2, dercA_in_ga(d(e(const(0))), X2))
U44_gaa(X1, X2, dercA_out_ga(d(e(const(0))), X2)) → qcC_out_gaa(e(const(X1)), const(0), X2)
qcC_in_gaa(e(+(X1, X2)), +(X3, X4), X5) → U45_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X1)), X3))
U45_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X3)) → U46_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X2)), X4))
U46_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X4)) → U47_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(+(X3, X4))), X5))
U47_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(+(X3, X4))), X5)) → qcC_out_gaa(e(+(X1, X2)), +(X3, X4), X5)
qcC_in_gaa(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5) → U48_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X1)), X4))
U48_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X4)) → U49_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X2)), X3))
U49_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X3)) → U50_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(+(*(X1, X3), *(X2, X4)))), X5))
U50_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(+(*(X1, X3), *(X2, X4)))), X5)) → qcC_out_gaa(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5)
qcC_in_gaa(d(X1), X2, X3) → U51_gaa(X1, X2, X3, dercA_in_ga(d(X1), X4))
U51_gaa(X1, X2, X3, dercA_out_ga(d(X1), X4)) → U52_gaa(X1, X2, X3, qcC_in_gaa(e(X4), X2, X3))
U52_gaa(X1, X2, X3, qcC_out_gaa(e(X4), X2, X3)) → qcC_out_gaa(d(X1), X2, X3)
U39_ga(X1, X2, qcC_out_gaa(X1, X3, X2)) → dercA_out_ga(d(d(X1)), X2)
U36_ga(X1, X2, X3, dercA_out_ga(d(e(X2)), X3)) → dercA_out_ga(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0))))
U35_ga(X1, X2, dercA_out_ga(d(e(X1)), X2)) → dercA_out_ga(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1))))
U40_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → U41_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X3)), X4))
U41_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X3)), X4)) → U42_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X5)), X6))
U42_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X5)), X6)) → qcB_out_gagaga(X1, X2, X3, X4, X5, X6)
U33_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X4, X2, X5, X3, X6)) → dercA_out_ga(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6))
U32_ga(X1, X2, X3, dercA_out_ga(d(e(X2)), X3)) → dercA_out_ga(d(e(+(const(X1), X2))), +(const(0), X3))
U31_ga(X1, X2, dercA_out_ga(d(e(X1)), X2)) → dercA_out_ga(d(e(+(t, X1))), +(const(1), X2))
DERA_IN_GA(d(e(+(const(X1), X2))), +(const(0), X3)) → DERA_IN_GA(d(e(X2)), X3)
DERA_IN_GA(d(e(+(t, X1))), +(const(1), X2)) → DERA_IN_GA(d(e(X1)), X2)
DERA_IN_GA(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6)) → PB_IN_GAGAGA(X1, X4, X2, X5, X3, X6)
PB_IN_GAGAGA(X1, X2, X3, X4, X5, X6) → DERA_IN_GA(d(e(X1)), X2)
DERA_IN_GA(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6)) → PB_IN_GAGAGA(X1, X5, X2, X4, X3, X6)
PB_IN_GAGAGA(X1, X2, X3, X4, X5, X6) → U2_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X1)), X2))
U2_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → DERA_IN_GA(d(e(X3)), X4)
DERA_IN_GA(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1)))) → DERA_IN_GA(d(e(X1)), X2)
DERA_IN_GA(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0)))) → DERA_IN_GA(d(e(X2)), X3)
DERA_IN_GA(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6)))) → PB_IN_GAGAGA(X1, X5, X2, X6, X3, X4)
DERA_IN_GA(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6))))) → PB_IN_GAGAGA(X1, X6, X2, X5, X3, X4)
U2_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → U4_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X3)), X4))
U4_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X3)), X4)) → DERA_IN_GA(d(e(X5)), X6)
dercA_in_ga(d(e(t)), const(1)) → dercA_out_ga(d(e(t)), const(1))
dercA_in_ga(d(e(const(X1))), const(0)) → dercA_out_ga(d(e(const(X1))), const(0))
dercA_in_ga(d(e(+(t, X1))), +(const(1), X2)) → U31_ga(X1, X2, dercA_in_ga(d(e(X1)), X2))
dercA_in_ga(d(e(+(const(X1), X2))), +(const(0), X3)) → U32_ga(X1, X2, X3, dercA_in_ga(d(e(X2)), X3))
dercA_in_ga(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6)) → U33_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X4, X2, X5, X3, X6))
qcB_in_gagaga(X1, X2, X3, X4, X5, X6) → U40_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X1)), X2))
dercA_in_ga(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6)) → U34_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X5, X2, X4, X3, X6))
U34_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X5, X2, X4, X3, X6)) → dercA_out_ga(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6))
dercA_in_ga(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1)))) → U35_ga(X1, X2, dercA_in_ga(d(e(X1)), X2))
dercA_in_ga(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0)))) → U36_ga(X1, X2, X3, dercA_in_ga(d(e(X2)), X3))
dercA_in_ga(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6)))) → U37_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X5, X2, X6, X3, X4))
U37_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X5, X2, X6, X3, X4)) → dercA_out_ga(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6))))
dercA_in_ga(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6))))) → U38_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X6, X2, X5, X3, X4))
U38_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X6, X2, X5, X3, X4)) → dercA_out_ga(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6)))))
dercA_in_ga(d(d(X1)), X2) → U39_ga(X1, X2, qcC_in_gaa(X1, X3, X2))
qcC_in_gaa(e(t), const(1), X1) → U43_gaa(X1, dercA_in_ga(d(e(const(1))), X1))
U43_gaa(X1, dercA_out_ga(d(e(const(1))), X1)) → qcC_out_gaa(e(t), const(1), X1)
qcC_in_gaa(e(const(X1)), const(0), X2) → U44_gaa(X1, X2, dercA_in_ga(d(e(const(0))), X2))
U44_gaa(X1, X2, dercA_out_ga(d(e(const(0))), X2)) → qcC_out_gaa(e(const(X1)), const(0), X2)
qcC_in_gaa(e(+(X1, X2)), +(X3, X4), X5) → U45_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X1)), X3))
U45_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X3)) → U46_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X2)), X4))
U46_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X4)) → U47_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(+(X3, X4))), X5))
U47_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(+(X3, X4))), X5)) → qcC_out_gaa(e(+(X1, X2)), +(X3, X4), X5)
qcC_in_gaa(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5) → U48_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X1)), X4))
U48_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X4)) → U49_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X2)), X3))
U49_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X3)) → U50_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(+(*(X1, X3), *(X2, X4)))), X5))
U50_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(+(*(X1, X3), *(X2, X4)))), X5)) → qcC_out_gaa(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5)
qcC_in_gaa(d(X1), X2, X3) → U51_gaa(X1, X2, X3, dercA_in_ga(d(X1), X4))
U51_gaa(X1, X2, X3, dercA_out_ga(d(X1), X4)) → U52_gaa(X1, X2, X3, qcC_in_gaa(e(X4), X2, X3))
U52_gaa(X1, X2, X3, qcC_out_gaa(e(X4), X2, X3)) → qcC_out_gaa(d(X1), X2, X3)
U39_ga(X1, X2, qcC_out_gaa(X1, X3, X2)) → dercA_out_ga(d(d(X1)), X2)
U36_ga(X1, X2, X3, dercA_out_ga(d(e(X2)), X3)) → dercA_out_ga(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0))))
U35_ga(X1, X2, dercA_out_ga(d(e(X1)), X2)) → dercA_out_ga(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1))))
U40_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → U41_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X3)), X4))
U41_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X3)), X4)) → U42_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X5)), X6))
U42_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X5)), X6)) → qcB_out_gagaga(X1, X2, X3, X4, X5, X6)
U33_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X4, X2, X5, X3, X6)) → dercA_out_ga(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6))
U32_ga(X1, X2, X3, dercA_out_ga(d(e(X2)), X3)) → dercA_out_ga(d(e(+(const(X1), X2))), +(const(0), X3))
U31_ga(X1, X2, dercA_out_ga(d(e(X1)), X2)) → dercA_out_ga(d(e(+(t, X1))), +(const(1), X2))
DERA_IN_GA(d(e(+(const(X1), X2))), +(const(0), X3)) → DERA_IN_GA(d(e(X2)), X3)
DERA_IN_GA(d(e(+(t, X1))), +(const(1), X2)) → DERA_IN_GA(d(e(X1)), X2)
DERA_IN_GA(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6)) → PB_IN_GAGAGA(X1, X4, X2, X5, X3, X6)
PB_IN_GAGAGA(X1, X2, X3, X4, X5, X6) → DERA_IN_GA(d(e(X1)), X2)
DERA_IN_GA(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6)) → PB_IN_GAGAGA(X1, X5, X2, X4, X3, X6)
PB_IN_GAGAGA(X1, X2, X3, X4, X5, X6) → U2_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X1)), X2))
U2_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → DERA_IN_GA(d(e(X3)), X4)
DERA_IN_GA(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1)))) → DERA_IN_GA(d(e(X1)), X2)
DERA_IN_GA(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0)))) → DERA_IN_GA(d(e(X2)), X3)
DERA_IN_GA(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6)))) → PB_IN_GAGAGA(X1, X5, X2, X6, X3, X4)
DERA_IN_GA(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6))))) → PB_IN_GAGAGA(X1, X6, X2, X5, X3, X4)
U2_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → U4_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X3)), X4))
U4_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X3)), X4)) → DERA_IN_GA(d(e(X5)), X6)
dercA_in_ga(d(e(t)), const(1)) → dercA_out_ga(d(e(t)), const(1))
dercA_in_ga(d(e(const(X1))), const(0)) → dercA_out_ga(d(e(const(X1))), const(0))
dercA_in_ga(d(e(+(t, X1))), +(const(1), X2)) → U31_ga(X1, X2, dercA_in_ga(d(e(X1)), X2))
dercA_in_ga(d(e(+(const(X1), X2))), +(const(0), X3)) → U32_ga(X1, X2, X3, dercA_in_ga(d(e(X2)), X3))
dercA_in_ga(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6)) → U33_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X4, X2, X5, X3, X6))
dercA_in_ga(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6)) → U34_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X5, X2, X4, X3, X6))
dercA_in_ga(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1)))) → U35_ga(X1, X2, dercA_in_ga(d(e(X1)), X2))
dercA_in_ga(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0)))) → U36_ga(X1, X2, X3, dercA_in_ga(d(e(X2)), X3))
dercA_in_ga(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6)))) → U37_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X5, X2, X6, X3, X4))
dercA_in_ga(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6))))) → U38_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X6, X2, X5, X3, X4))
U31_ga(X1, X2, dercA_out_ga(d(e(X1)), X2)) → dercA_out_ga(d(e(+(t, X1))), +(const(1), X2))
U32_ga(X1, X2, X3, dercA_out_ga(d(e(X2)), X3)) → dercA_out_ga(d(e(+(const(X1), X2))), +(const(0), X3))
U33_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X4, X2, X5, X3, X6)) → dercA_out_ga(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6))
U34_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X5, X2, X4, X3, X6)) → dercA_out_ga(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6))
U35_ga(X1, X2, dercA_out_ga(d(e(X1)), X2)) → dercA_out_ga(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1))))
U36_ga(X1, X2, X3, dercA_out_ga(d(e(X2)), X3)) → dercA_out_ga(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0))))
U37_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X5, X2, X6, X3, X4)) → dercA_out_ga(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6))))
U38_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X6, X2, X5, X3, X4)) → dercA_out_ga(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6)))))
qcB_in_gagaga(X1, X2, X3, X4, X5, X6) → U40_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X1)), X2))
U40_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → U41_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X3)), X4))
U41_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X3)), X4)) → U42_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X5)), X6))
U42_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X5)), X6)) → qcB_out_gagaga(X1, X2, X3, X4, X5, X6)
DERA_IN_GA(d(e(+(const(X1), X2)))) → DERA_IN_GA(d(e(X2)))
DERA_IN_GA(d(e(+(t, X1)))) → DERA_IN_GA(d(e(X1)))
DERA_IN_GA(d(e(+(+(X1, X2), X3)))) → PB_IN_GAGAGA(X1, X2, X3)
PB_IN_GAGAGA(X1, X3, X5) → DERA_IN_GA(d(e(X1)))
DERA_IN_GA(d(e(+(*(X1, X2), X3)))) → PB_IN_GAGAGA(X1, X2, X3)
PB_IN_GAGAGA(X1, X3, X5) → U2_GAGAGA(X1, X3, X5, dercA_in_ga(d(e(X1))))
U2_GAGAGA(X1, X3, X5, dercA_out_ga(d(e(X1)), X2)) → DERA_IN_GA(d(e(X3)))
DERA_IN_GA(d(e(*(t, X1)))) → DERA_IN_GA(d(e(X1)))
DERA_IN_GA(d(e(*(const(X1), X2)))) → DERA_IN_GA(d(e(X2)))
DERA_IN_GA(d(e(*(+(X1, X2), X3)))) → PB_IN_GAGAGA(X1, X2, X3)
DERA_IN_GA(d(e(*(*(X1, X2), X3)))) → PB_IN_GAGAGA(X1, X2, X3)
U2_GAGAGA(X1, X3, X5, dercA_out_ga(d(e(X1)), X2)) → U4_GAGAGA(X1, X3, X5, dercA_in_ga(d(e(X3))))
U4_GAGAGA(X1, X3, X5, dercA_out_ga(d(e(X3)), X4)) → DERA_IN_GA(d(e(X5)))
dercA_in_ga(d(e(t))) → dercA_out_ga(d(e(t)), const(1))
dercA_in_ga(d(e(const(X1)))) → dercA_out_ga(d(e(const(X1))), const(0))
dercA_in_ga(d(e(+(t, X1)))) → U31_ga(X1, dercA_in_ga(d(e(X1))))
dercA_in_ga(d(e(+(const(X1), X2)))) → U32_ga(X1, X2, dercA_in_ga(d(e(X2))))
dercA_in_ga(d(e(+(+(X1, X2), X3)))) → U33_ga(X1, X2, X3, qcB_in_gagaga(X1, X2, X3))
dercA_in_ga(d(e(+(*(X1, X2), X3)))) → U34_ga(X1, X2, X3, qcB_in_gagaga(X1, X2, X3))
dercA_in_ga(d(e(*(t, X1)))) → U35_ga(X1, dercA_in_ga(d(e(X1))))
dercA_in_ga(d(e(*(const(X1), X2)))) → U36_ga(X1, X2, dercA_in_ga(d(e(X2))))
dercA_in_ga(d(e(*(+(X1, X2), X3)))) → U37_ga(X1, X2, X3, qcB_in_gagaga(X1, X2, X3))
dercA_in_ga(d(e(*(*(X1, X2), X3)))) → U38_ga(X1, X2, X3, qcB_in_gagaga(X1, X2, X3))
U31_ga(X1, dercA_out_ga(d(e(X1)), X2)) → dercA_out_ga(d(e(+(t, X1))), +(const(1), X2))
U32_ga(X1, X2, dercA_out_ga(d(e(X2)), X3)) → dercA_out_ga(d(e(+(const(X1), X2))), +(const(0), X3))
U33_ga(X1, X2, X3, qcB_out_gagaga(X1, X4, X2, X5, X3, X6)) → dercA_out_ga(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6))
U34_ga(X1, X2, X3, qcB_out_gagaga(X1, X5, X2, X4, X3, X6)) → dercA_out_ga(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6))
U35_ga(X1, dercA_out_ga(d(e(X1)), X2)) → dercA_out_ga(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1))))
U36_ga(X1, X2, dercA_out_ga(d(e(X2)), X3)) → dercA_out_ga(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0))))
U37_ga(X1, X2, X3, qcB_out_gagaga(X1, X5, X2, X6, X3, X4)) → dercA_out_ga(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6))))
U38_ga(X1, X2, X3, qcB_out_gagaga(X1, X6, X2, X5, X3, X4)) → dercA_out_ga(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6)))))
qcB_in_gagaga(X1, X3, X5) → U40_gagaga(X1, X3, X5, dercA_in_ga(d(e(X1))))
U40_gagaga(X1, X3, X5, dercA_out_ga(d(e(X1)), X2)) → U41_gagaga(X1, X2, X3, X5, dercA_in_ga(d(e(X3))))
U41_gagaga(X1, X2, X3, X5, dercA_out_ga(d(e(X3)), X4)) → U42_gagaga(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X5))))
U42_gagaga(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X5)), X6)) → qcB_out_gagaga(X1, X2, X3, X4, X5, X6)
dercA_in_ga(x0)
U31_ga(x0, x1)
U32_ga(x0, x1, x2)
U33_ga(x0, x1, x2, x3)
U34_ga(x0, x1, x2, x3)
U35_ga(x0, x1)
U36_ga(x0, x1, x2)
U37_ga(x0, x1, x2, x3)
U38_ga(x0, x1, x2, x3)
qcB_in_gagaga(x0, x1, x2)
U40_gagaga(x0, x1, x2, x3)
U41_gagaga(x0, x1, x2, x3, x4)
U42_gagaga(x0, x1, x2, x3, x4, x5)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
DERA_IN_GA(d(e(+(const(X1), X2)))) → DERA_IN_GA(d(e(X2)))
DERA_IN_GA(d(e(+(t, X1)))) → DERA_IN_GA(d(e(X1)))
DERA_IN_GA(d(e(+(+(X1, X2), X3)))) → PB_IN_GAGAGA(X1, X2, X3)
PB_IN_GAGAGA(X1, X3, X5) → DERA_IN_GA(d(e(X1)))
DERA_IN_GA(d(e(+(*(X1, X2), X3)))) → PB_IN_GAGAGA(X1, X2, X3)
U2_GAGAGA(X1, X3, X5, dercA_out_ga(d(e(X1)), X2)) → DERA_IN_GA(d(e(X3)))
DERA_IN_GA(d(e(*(t, X1)))) → DERA_IN_GA(d(e(X1)))
DERA_IN_GA(d(e(*(const(X1), X2)))) → DERA_IN_GA(d(e(X2)))
DERA_IN_GA(d(e(*(+(X1, X2), X3)))) → PB_IN_GAGAGA(X1, X2, X3)
DERA_IN_GA(d(e(*(*(X1, X2), X3)))) → PB_IN_GAGAGA(X1, X2, X3)
U4_GAGAGA(X1, X3, X5, dercA_out_ga(d(e(X3)), X4)) → DERA_IN_GA(d(e(X5)))
POL(*(x1, x2)) = 1 + x1 + x2
POL(+(x1, x2)) = 1 + x1 + x2
POL(0) = 0
POL(1) = 0
POL(DERA_IN_GA(x1)) = x1
POL(PB_IN_GAGAGA(x1, x2, x3)) = 1 + x1 + x2 + x3
POL(U2_GAGAGA(x1, x2, x3, x4)) = 1 + x2 + x3
POL(U31_ga(x1, x2)) = 0
POL(U32_ga(x1, x2, x3)) = 0
POL(U33_ga(x1, x2, x3, x4)) = 0
POL(U34_ga(x1, x2, x3, x4)) = 0
POL(U35_ga(x1, x2)) = 0
POL(U36_ga(x1, x2, x3)) = 0
POL(U37_ga(x1, x2, x3, x4)) = 0
POL(U38_ga(x1, x2, x3, x4)) = 0
POL(U40_gagaga(x1, x2, x3, x4)) = 0
POL(U41_gagaga(x1, x2, x3, x4, x5)) = 0
POL(U42_gagaga(x1, x2, x3, x4, x5, x6)) = 0
POL(U4_GAGAGA(x1, x2, x3, x4)) = 1 + x3
POL(const(x1)) = 0
POL(d(x1)) = x1
POL(dercA_in_ga(x1)) = 0
POL(dercA_out_ga(x1, x2)) = 0
POL(e(x1)) = x1
POL(qcB_in_gagaga(x1, x2, x3)) = 0
POL(qcB_out_gagaga(x1, x2, x3, x4, x5, x6)) = 0
POL(t) = 1
PB_IN_GAGAGA(X1, X3, X5) → U2_GAGAGA(X1, X3, X5, dercA_in_ga(d(e(X1))))
U2_GAGAGA(X1, X3, X5, dercA_out_ga(d(e(X1)), X2)) → U4_GAGAGA(X1, X3, X5, dercA_in_ga(d(e(X3))))
dercA_in_ga(d(e(t))) → dercA_out_ga(d(e(t)), const(1))
dercA_in_ga(d(e(const(X1)))) → dercA_out_ga(d(e(const(X1))), const(0))
dercA_in_ga(d(e(+(t, X1)))) → U31_ga(X1, dercA_in_ga(d(e(X1))))
dercA_in_ga(d(e(+(const(X1), X2)))) → U32_ga(X1, X2, dercA_in_ga(d(e(X2))))
dercA_in_ga(d(e(+(+(X1, X2), X3)))) → U33_ga(X1, X2, X3, qcB_in_gagaga(X1, X2, X3))
dercA_in_ga(d(e(+(*(X1, X2), X3)))) → U34_ga(X1, X2, X3, qcB_in_gagaga(X1, X2, X3))
dercA_in_ga(d(e(*(t, X1)))) → U35_ga(X1, dercA_in_ga(d(e(X1))))
dercA_in_ga(d(e(*(const(X1), X2)))) → U36_ga(X1, X2, dercA_in_ga(d(e(X2))))
dercA_in_ga(d(e(*(+(X1, X2), X3)))) → U37_ga(X1, X2, X3, qcB_in_gagaga(X1, X2, X3))
dercA_in_ga(d(e(*(*(X1, X2), X3)))) → U38_ga(X1, X2, X3, qcB_in_gagaga(X1, X2, X3))
U31_ga(X1, dercA_out_ga(d(e(X1)), X2)) → dercA_out_ga(d(e(+(t, X1))), +(const(1), X2))
U32_ga(X1, X2, dercA_out_ga(d(e(X2)), X3)) → dercA_out_ga(d(e(+(const(X1), X2))), +(const(0), X3))
U33_ga(X1, X2, X3, qcB_out_gagaga(X1, X4, X2, X5, X3, X6)) → dercA_out_ga(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6))
U34_ga(X1, X2, X3, qcB_out_gagaga(X1, X5, X2, X4, X3, X6)) → dercA_out_ga(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6))
U35_ga(X1, dercA_out_ga(d(e(X1)), X2)) → dercA_out_ga(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1))))
U36_ga(X1, X2, dercA_out_ga(d(e(X2)), X3)) → dercA_out_ga(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0))))
U37_ga(X1, X2, X3, qcB_out_gagaga(X1, X5, X2, X6, X3, X4)) → dercA_out_ga(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6))))
U38_ga(X1, X2, X3, qcB_out_gagaga(X1, X6, X2, X5, X3, X4)) → dercA_out_ga(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6)))))
qcB_in_gagaga(X1, X3, X5) → U40_gagaga(X1, X3, X5, dercA_in_ga(d(e(X1))))
U40_gagaga(X1, X3, X5, dercA_out_ga(d(e(X1)), X2)) → U41_gagaga(X1, X2, X3, X5, dercA_in_ga(d(e(X3))))
U41_gagaga(X1, X2, X3, X5, dercA_out_ga(d(e(X3)), X4)) → U42_gagaga(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X5))))
U42_gagaga(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X5)), X6)) → qcB_out_gagaga(X1, X2, X3, X4, X5, X6)
dercA_in_ga(x0)
U31_ga(x0, x1)
U32_ga(x0, x1, x2)
U33_ga(x0, x1, x2, x3)
U34_ga(x0, x1, x2, x3)
U35_ga(x0, x1)
U36_ga(x0, x1, x2)
U37_ga(x0, x1, x2, x3)
U38_ga(x0, x1, x2, x3)
qcB_in_gagaga(x0, x1, x2)
U40_gagaga(x0, x1, x2, x3)
U41_gagaga(x0, x1, x2, x3, x4)
U42_gagaga(x0, x1, x2, x3, x4, x5)
PC_IN_GAA(d(X1), X2, X3) → DERA_IN_GA(d(X1), X4)
DERA_IN_GA(d(d(X1)), X2) → PC_IN_GAA(X1, X3, X2)
dercA_in_ga(d(e(t)), const(1)) → dercA_out_ga(d(e(t)), const(1))
dercA_in_ga(d(e(const(X1))), const(0)) → dercA_out_ga(d(e(const(X1))), const(0))
dercA_in_ga(d(e(+(t, X1))), +(const(1), X2)) → U31_ga(X1, X2, dercA_in_ga(d(e(X1)), X2))
dercA_in_ga(d(e(+(const(X1), X2))), +(const(0), X3)) → U32_ga(X1, X2, X3, dercA_in_ga(d(e(X2)), X3))
dercA_in_ga(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6)) → U33_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X4, X2, X5, X3, X6))
qcB_in_gagaga(X1, X2, X3, X4, X5, X6) → U40_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X1)), X2))
dercA_in_ga(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6)) → U34_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X5, X2, X4, X3, X6))
U34_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X5, X2, X4, X3, X6)) → dercA_out_ga(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6))
dercA_in_ga(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1)))) → U35_ga(X1, X2, dercA_in_ga(d(e(X1)), X2))
dercA_in_ga(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0)))) → U36_ga(X1, X2, X3, dercA_in_ga(d(e(X2)), X3))
dercA_in_ga(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6)))) → U37_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X5, X2, X6, X3, X4))
U37_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X5, X2, X6, X3, X4)) → dercA_out_ga(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6))))
dercA_in_ga(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6))))) → U38_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X6, X2, X5, X3, X4))
U38_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X6, X2, X5, X3, X4)) → dercA_out_ga(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6)))))
dercA_in_ga(d(d(X1)), X2) → U39_ga(X1, X2, qcC_in_gaa(X1, X3, X2))
qcC_in_gaa(e(t), const(1), X1) → U43_gaa(X1, dercA_in_ga(d(e(const(1))), X1))
U43_gaa(X1, dercA_out_ga(d(e(const(1))), X1)) → qcC_out_gaa(e(t), const(1), X1)
qcC_in_gaa(e(const(X1)), const(0), X2) → U44_gaa(X1, X2, dercA_in_ga(d(e(const(0))), X2))
U44_gaa(X1, X2, dercA_out_ga(d(e(const(0))), X2)) → qcC_out_gaa(e(const(X1)), const(0), X2)
qcC_in_gaa(e(+(X1, X2)), +(X3, X4), X5) → U45_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X1)), X3))
U45_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X3)) → U46_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X2)), X4))
U46_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X4)) → U47_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(+(X3, X4))), X5))
U47_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(+(X3, X4))), X5)) → qcC_out_gaa(e(+(X1, X2)), +(X3, X4), X5)
qcC_in_gaa(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5) → U48_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X1)), X4))
U48_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X4)) → U49_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X2)), X3))
U49_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X3)) → U50_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(+(*(X1, X3), *(X2, X4)))), X5))
U50_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(+(*(X1, X3), *(X2, X4)))), X5)) → qcC_out_gaa(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5)
qcC_in_gaa(d(X1), X2, X3) → U51_gaa(X1, X2, X3, dercA_in_ga(d(X1), X4))
U51_gaa(X1, X2, X3, dercA_out_ga(d(X1), X4)) → U52_gaa(X1, X2, X3, qcC_in_gaa(e(X4), X2, X3))
U52_gaa(X1, X2, X3, qcC_out_gaa(e(X4), X2, X3)) → qcC_out_gaa(d(X1), X2, X3)
U39_ga(X1, X2, qcC_out_gaa(X1, X3, X2)) → dercA_out_ga(d(d(X1)), X2)
U36_ga(X1, X2, X3, dercA_out_ga(d(e(X2)), X3)) → dercA_out_ga(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0))))
U35_ga(X1, X2, dercA_out_ga(d(e(X1)), X2)) → dercA_out_ga(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1))))
U40_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → U41_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X3)), X4))
U41_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X3)), X4)) → U42_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X5)), X6))
U42_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X5)), X6)) → qcB_out_gagaga(X1, X2, X3, X4, X5, X6)
U33_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X4, X2, X5, X3, X6)) → dercA_out_ga(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6))
U32_ga(X1, X2, X3, dercA_out_ga(d(e(X2)), X3)) → dercA_out_ga(d(e(+(const(X1), X2))), +(const(0), X3))
U31_ga(X1, X2, dercA_out_ga(d(e(X1)), X2)) → dercA_out_ga(d(e(+(t, X1))), +(const(1), X2))
PC_IN_GAA(d(X1), X2, X3) → DERA_IN_GA(d(X1), X4)
DERA_IN_GA(d(d(X1)), X2) → PC_IN_GAA(X1, X3, X2)
PC_IN_GAA(d(X1)) → DERA_IN_GA(d(X1))
DERA_IN_GA(d(d(X1))) → PC_IN_GAA(X1)
From the DPs we obtained the following set of size-change graphs: